Pagini recente » Borderou de evaluare (job #2023267) | Borderou de evaluare (job #1432208) | Borderou de evaluare (job #2137072) | Borderou de evaluare (job #1277169) | Borderou de evaluare (job #1429853)
Borderou de evaluare (job #1429853)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.in","r",stdin);
^
user.cpp:28:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.out","w",stdout);
^
user.cpp:29:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=0;i<=26;i++) scanf("%d",&t[i]); scanf("\n");
^
user.cpp:29:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=0;i<=26;i++) scanf("%d",&t[i]); scanf("\n");
^
user.cpp:30:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
user.cpp:31:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
/tmp/ccl5SPRG.o: In function `main':
user.cpp:(.text.startup+0x95): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 264kb | OK | 10 | 100 |
2 | 0ms | 244kb | OK | 10 |
3 | 0ms | 244kb | OK | 10 |
4 | 0ms | 244kb | OK | 10 |
5 | 0ms | 288kb | OK | 10 |
6 | 0ms | 460kb | OK | 10 |
7 | 8ms | 1228kb | OK | 10 |
8 | 16ms | 1232kb | OK | 10 |
9 | 8ms | 1240kb | OK | 10 |
10 | 8ms | 1236kb | OK | 10 |
Punctaj total | 100 |