Pagini recente » Borderou de evaluare (job #805149) | Borderou de evaluare (job #2501621) | Borderou de evaluare (job #712802) | Borderou de evaluare (job #2344092) | Borderou de evaluare (job #2256481)
Borderou de evaluare (job #2256481)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:74:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[304]’ [-Wformat=]
scanf ("%s", &s);
^
user.cpp:85:24: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[304]’ [-Wformat=]
scanf ("%s", &s);
^
user.cpp:98:24: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[304]’ [-Wformat=]
scanf ("%s", &s);
^
user.cpp:70:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("sub.in","r",stdin);
^
user.cpp:71:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("sub.out","w",stdout);
^
user.cpp:72:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &n);
^
user.cpp:73:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%c", &x);
^
user.cpp:74:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%s", &s);
^
user.cpp:85:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%s", &s);
^
user.cpp:94:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &m);
^
user.cpp:95:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%c", &x);
^
user.cpp:98:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%s", &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 804kb | OK | 10 |
2 | 0ms | 804kb | OK | 10 |
3 | 0ms | 860kb | OK | 10 |
4 | 0ms | 1292kb | OK | 10 |
5 | 4ms | 1992kb | OK | 10 |
6 | 4ms | 2096kb | OK | 10 |
7 | 16ms | 5840kb | OK | 10 |
8 | 16ms | 5924kb | OK | 10 |
9 | 20ms | 5968kb | OK | 10 |
10 | 16ms | 5752kb | OK | 10 |
Punctaj total | 100 |