Pagini recente » Borderou de evaluare (job #139109) | Borderou de evaluare (job #1017373) | Borderou de evaluare (job #2034357) | Borderou de evaluare (job #1157384) | Borderou de evaluare (job #1841863)
Borderou de evaluare (job #1841863)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:18:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suma2.in","r",stdin);
^
user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suma2.out","w",stdout);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:18:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 444kb | OK | 10 |
| 2 | 0ms | 440kb | OK | 10 |
| 3 | 0ms | 440kb | OK | 10 |
| 4 | 0ms | 440kb | OK | 10 |
| 5 | 4ms | 440kb | OK | 10 |
| 6 | 4ms | 444kb | OK | 10 |
| 7 | 12ms | 436kb | OK | 10 |
| 8 | 20ms | 440kb | OK | 10 |
| 9 | 36ms | 444kb | OK | 10 |
| 10 | 44ms | 444kb | OK | 10 |
| Punctaj total | 100 |