Pagini recente » Borderou de evaluare (job #1005866) | Borderou de evaluare (job #2857106) | Borderou de evaluare (job #2172227) | Borderou de evaluare (job #738311) | Borderou de evaluare (job #1333627)
Borderou de evaluare (job #1333627)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d\n", &t);
^
user.cpp:24:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[55]’ [-Wformat=]
scanf("%s\n", &s);
^
user.cpp:37:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", sum+1);
^
user.cpp:17:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kbiti.in", "r", stdin);
^
user.cpp:18:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kbiti.out", "w", stdout);
^
user.cpp:19:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
user.cpp:24:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 284kb | OK | 10 |
5 | 0ms | 292kb | OK | 10 |
6 | 28ms | 288kb | OK | 10 |
7 | 92ms | 288kb | OK | 10 |
8 | Depăşit | 288kb | Time limit exceeded. | 0 |
9 | Depăşit | 292kb | Time limit exceeded. | 0 |
10 | Depăşit | 292kb | Time limit exceeded. | 0 |
Punctaj total | 70 |