Pagini recente » Diferente pentru utilizator/vanila_cpp intre reviziile 31 si 30 | Cod sursa (job #2575756) | Borderou de evaluare (job #2312234) | Borderou de evaluare (job #1173982) | Borderou de evaluare (job #1187847)
Borderou de evaluare (job #1187847)
Raport evaluator
Compilare:
user.cpp: In function ‘int comp(int*, int*)’:
user.cpp:26:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:29:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("easylca.in","r",stdin);
^
user.cpp:30:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("easylca.out","w",stdout);
^
user.cpp:31:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
user.cpp:34:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); n=strlen(s+1); ok=1; e=0; d=0;
^
/tmp/ccMMa3gT.o: In function `main':
user.cpp:(.text.startup+0x86): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 4ms | 268kb | OK | 10 | 0 |
| 2 | 12ms | 276kb | OK | 10 |
| 3 | 32ms | 276kb | OK | 10 |
| 4 | 172ms | 272kb | OK | 10 |
| 5 | Depăşit | 264kb | Time limit exceeded. | 0 |
| 6 | 340ms | 268kb | OK | 10 |
| 7 | Depăşit | 264kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 272kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 272kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 268kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |