Pagini recente » Borderou de evaluare (job #56651) | Borderou de evaluare (job #831434) | Borderou de evaluare (job #2746066) | Borderou de evaluare (job #586779) | Borderou de evaluare (job #1660876)
Borderou de evaluare (job #1660876)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘sh* {aka short int*}’ [-Wformat=]
scanf("%d %d", &x, &y);
^
user.cpp:26:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘sh* {aka short int*}’ [-Wformat=]
user.cpp:19:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fof.in","r",stdin);
^
user.cpp:20:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fof.out","w",stdout);
^
user.cpp:22:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:26:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |