Pagini recente » Borderou de evaluare (job #3151681) | Borderou de evaluare (job #3267804) | Borderou de evaluare (job #730825) | Borderou de evaluare (job #159266) | Borderou de evaluare (job #2742209)
Borderou de evaluare (job #2742209)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:36:22: warning: format '%d' expects a matching 'int*' argument [-Wformat=]
scanf("%d %d", &n);
^
main.cpp:29:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("revolta.in", "r", stdin);
^
main.cpp:30:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("revolta.out", "w", stdout);
^
main.cpp:33:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
main.cpp:36:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n);
^
main.cpp:42:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 6ms | 2490kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |