Pagini recente » Cod sursa (job #3242599) | Cod sursa (job #59371) | Cod sursa (job #1491803) | Cod sursa (job #498149) | Borderou de evaluare (job #1763485)
Borderou de evaluare (job #1763485)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:166:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d %d\n",aux1,aux2);
^
user.cpp:166:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:106:24: warning: unused variable ‘temp’ [-Wunused-variable]
llt sum=0,ans=-INF,temp,aux1,aux2;
^
user.cpp: In function ‘void Read(int&)’:
user.cpp:90:53: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++poz==DIM) fread(buff,1,DIM,stdin),poz=0;
^
user.cpp:96:53: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++poz==DIM) fread(buff,1,DIM,stdin),poz=0;
^
user.cpp: In function ‘int main()’:
user.cpp:102:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teamwork.in","r",stdin);
^
user.cpp:103:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teamwork.out","w",stdout);
^
user.cpp:108:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&N);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 0ms | 412kb | Incorect | 0 | 0 |
✗ | 2 | 0ms | 404kb | Incorect | 0 | 0 |
✗ | 3 | 460ms | 22208kb | Incorect | 0 | 0 |
✗ | 4 | 408ms | 22172kb | Incorect | 0 |
✓ | 5 | 432ms | 22188kb | Incorect | 0 | 0 |
✗ | 6 | 432ms | 22192kb | Incorect | 0 | 0 |
✗ | 7 | Depăşit | 34104kb | Time limit exceeded. | 0 | 0 |
✓ | 8 | Depăşit | 36320kb | Time limit exceeded. | 0 | 0 |
✗ | 9 | Depăşit | 37596kb | Time limit exceeded. | 0 | 0 |
✗ | 10 | Depăşit | 35824kb | Time limit exceeded. | 0 | 0 |
Punctaj total | 0 |