Pagini recente » Cod sursa (job #533947) | Cod sursa (job #2486268) | Cod sursa (job #1998528) | Cod sursa (job #1604847) | Borderou de evaluare (job #1569603)
Borderou de evaluare (job #1569603)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:49:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.in", "r", stdin);
^
user.cpp:50:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.out", "w", stdout);
^
user.cpp:57:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &N, &Q);
^
user.cpp:59:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(v[i]);
^
user.cpp:65:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:67:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &ind[i]);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:59:15:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/cc9h0yGK.o: In function `main':
user.cpp:(.text.startup+0x8e): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 1160kb | Time limit exceeded. | 0 |
2 | Depăşit | 1168kb | Time limit exceeded. | 0 |
3 | Depăşit | 1440kb | Time limit exceeded. | 0 |
4 | Depăşit | 1436kb | Time limit exceeded. | 0 |
5 | Depăşit | 1396kb | Time limit exceeded. | 0 |
6 | Depăşit | 1404kb | Time limit exceeded. | 0 |
7 | Depăşit | 3112kb | Time limit exceeded. | 0 |
8 | Depăşit | 3180kb | Time limit exceeded. | 0 |
9 | Depăşit | 3172kb | Time limit exceeded. | 0 |
10 | Depăşit | 1168kb | Time limit exceeded. | 0 |
11 | Depăşit | 948kb | Time limit exceeded. | 0 |
12 | Depăşit | 1408kb | Time limit exceeded. | 0 |
13 | Depăşit | 1172kb | Time limit exceeded. | 0 |
14 | Depăşit | 1408kb | Time limit exceeded. | 0 |
15 | Depăşit | 1176kb | Time limit exceeded. | 0 |
16 | Depăşit | 21408kb | Time limit exceeded. | 0 |
17 | Depăşit | 21548kb | Time limit exceeded. | 0 |
18 | Depăşit | 21588kb | Time limit exceeded. | 0 |
19 | Depăşit | 21440kb | Time limit exceeded. | 0 |
20 | Depăşit | 21424kb | Time limit exceeded. | 0 |
Punctaj total | 0 |