Pagini recente » Borderou de evaluare (job #265097) | Borderou de evaluare (job #2048665) | Borderou de evaluare (job #1778417) | Borderou de evaluare (job #1856041) | Borderou de evaluare (job #1429851)
Borderou de evaluare (job #1429851)
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/ccRBf6lD.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 | 0 |
2 | 0ms | 268kb | Incorect | 0 |
3 | 0ms | 252kb | OK | 10 |
4 | 0ms | 268kb | Incorect | 0 |
5 | 0ms | 292kb | OK | 10 |
6 | 0ms | 464kb | OK | 10 |
7 | 8ms | 1228kb | OK | 10 |
8 | 16ms | 1236kb | OK | 10 |
9 | 8ms | 1240kb | OK | 10 |
10 | 8ms | 1240kb | OK | 10 |
Punctaj total | 0 |