Pagini recente » Borderou de evaluare (job #3229935) | Borderou de evaluare (job #164279) | Borderou de evaluare (job #1316148) | Borderou de evaluare (job #2852723) | Borderou de evaluare (job #1777788)
Borderou de evaluare (job #1777788)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:57:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=]
scanf("%d", &m);
^
user.cpp: In function ‘void citeste(short unsigned int&)’:
user.cpp:19:45: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,DIM,stdin),poz=0;
^
user.cpp:26:45: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,DIM,stdin),poz=0;
^
user.cpp: In function ‘int main()’:
user.cpp:53:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("exp.in","r",stdin);
^
user.cpp:54:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("exp.out", "w", stdout);
^
user.cpp:57:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:58:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 296kb | Time limit exceeded. | 0 |
2 | Depăşit | 300kb | Time limit exceeded. | 0 |
3 | 0ms | 308kb | OK | 10 |
4 | 0ms | 316kb | OK | 10 |
5 | 0ms | 308kb | OK | 10 |
6 | 0ms | 316kb | OK | 10 |
7 | 0ms | 316kb | OK | 10 |
8 | 0ms | 324kb | OK | 10 |
9 | 0ms | 320kb | OK | 10 |
10 | 0ms | 312kb | OK | 10 |
Punctaj total | 80 |