Pagini recente » Cod sursa (job #74423) | Cod sursa (job #415376) | Borderou de evaluare (job #2449521) | Cod sursa (job #307294) | Borderou de evaluare (job #1198590)
Borderou de evaluare (job #1198590)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[10000001]’ [-Wformat=]
scanf ("%s\n",&s);
^
user.cpp:32:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[21]’ [-Wformat=]
scanf ("%s\n",&cuv);
^
user.cpp:41:28: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[21]’ [-Wformat=]
while(scanf("%s\n",&cuv)!=EOF){
^
user.cpp:25:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("abc2.in","r",stdin);
^
user.cpp:26:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("abc2.out","w",stdout);
^
user.cpp:29:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%s\n",&s);
^
user.cpp:32:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%s\n",&cuv);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 108ms | Depăşit | Memory limit exceeded. | 0 | 0 |
| 2 | 108ms | Depăşit | Memory limit exceeded. | 0 |
| 3 | 108ms | Depăşit | Memory limit exceeded. | 0 |
| 4 | 108ms | Depăşit | Memory limit exceeded. | 0 |
| 5 | 108ms | Depăşit | Memory limit exceeded. | 0 |
| 6 | 108ms | Depăşit | Memory limit exceeded. | 0 |
| 7 | 108ms | Depăşit | Memory limit exceeded. | 0 |
| 8 | 108ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 108ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 108ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 0 |