Pagini recente » Cod sursa (job #239396) | Borderou de evaluare (job #2327321) | Monitorul de evaluare | Cod sursa (job #52287) | Borderou de evaluare (job #1517394)
Borderou de evaluare (job #1517394)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&t);
^
user.cpp:28:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:32:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",nr);
^
user.cpp:18:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("chiftea.in","r",stdin);
^
user.cpp:19:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("chiftea.out","w",stdout);
^
user.cpp:20:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:28:23: 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 | 640kb | Time limit exceeded. | 0 |
| 2 | 0ms | 620kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | Depăşit | 648kb | Time limit exceeded. | 0 |
| 4 | 0ms | 612kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | Depăşit | 640kb | Time limit exceeded. | 0 |
| 6 | 0ms | 612kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | Depăşit | 640kb | Time limit exceeded. | 0 |
| 8 | 0ms | 616kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | Depăşit | 648kb | Time limit exceeded. | 0 |
| 10 | 0ms | 612kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |